<!DOCTYPE html>
<html>
  <head>
    <title>Directory: <?=$dir?></title>
    <style type="text/css">
        li {
            list-style-image: url(<?=PHI_SERVDIR?>/core/images/folder.png);
        }
    </style>
  </head>
  <body>
    <ul>
    <?php
        foreach($dirs as $d)
            if(strpos($d, '.') !== 0): // Not a hidden file
    ?>
        <li><a href="<?=$d?>" title="<?=$d?>"><?=$d?></a></li>
    <?php
            endif
    ?>
    </ul>
  </body>
</html>
